import { EChartsBarPluginProps } from 'type/bar'
import ChartPlugin from 'core/chart/chart-plugin'
import defaultProps from './default-props'

class EChartsBarPlugin extends ChartPlugin {
  constructor(props?: EChartsBarPluginProps) {
    super({ ...defaultProps, ...(props ?? {}) })
  }
}

export default EChartsBarPlugin
